﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="editprofile.aspx.vb" Inherits="bookmeetprototype.editprofile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <title>Edit Profile</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Hi,
        <asp:LoginName ID="LoginName1" runat="server" />
    </h1>
    <h2><strong>Edit Your Profile Information:</strong></h2>
    <p>It would really help us out if you filled out some of these details so we can get 
        our head around the stats!</p>
        <hr />
    <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </ajaxToolkit:ToolkitScriptManager>
    <p>Date of Birth: 
        <asp:TextBox ID="dob" runat="server" Height="24px" Width="202px"></asp:TextBox>
        <ajaxToolkit:CalendarExtender ID="dob_CalendarExtender" Format="dd/MM/yyyy" runat="server" 
            TargetControlID="dob">
        </ajaxToolkit:CalendarExtender>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="dob" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
    </p>
    <p>Location:
        <asp:DropDownList ID="dd_userlocation" runat="server">
            <asp:ListItem Value="London"></asp:ListItem>
            <asp:ListItem>South East</asp:ListItem>
            <asp:ListItem Value="North East"></asp:ListItem>
            <asp:ListItem>South</asp:ListItem>
            <asp:ListItem>East Anglia</asp:ListItem>
            <asp:ListItem>Midlands</asp:ListItem>
            <asp:ListItem>South Wales</asp:ListItem>
            <asp:ListItem>North Wales</asp:ListItem>
            <asp:ListItem>West Country</asp:ListItem>
        </asp:DropDownList>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="dd_userlocation" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
    </p><p>
    Email Address
    <asp:TextBox ID="email" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
            ControlToValidate="email" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
    </p><p>
        Description&nbsp;
    <asp:TextBox ID="description" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
            ControlToValidate="description" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
  </p>
    <p>
        Smoker?
        <asp:DropDownList ID="smoker" runat="server">
            <asp:ListItem>Yes</asp:ListItem>
            <asp:ListItem>No</asp:ListItem>
        </asp:DropDownList>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
            ControlToValidate="smoker" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
  </p>
    <p>
        Drinker?
        <asp:DropDownList ID="drinker" runat="server">
            <asp:ListItem>Yes</asp:ListItem>
            <asp:ListItem>No</asp:ListItem>
        </asp:DropDownList>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
            ControlToValidate="drinker" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
  </p>
    <p>
        Education Level
        <asp:DropDownList ID="educationlevel" runat="server" Height="30px" 
            Width="226px">
            <asp:ListItem>GCSE</asp:ListItem>
            <asp:ListItem>A Level</asp:ListItem>
            <asp:ListItem>Undergraduate</asp:ListItem>
            <asp:ListItem>Post Graduate</asp:ListItem>
            <asp:ListItem>Doctorate</asp:ListItem>
            <asp:ListItem>Post Doctorate</asp:ListItem>
        </asp:DropDownList>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
            ControlToValidate="educationlevel" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
  </p>
    <p>
        Profession
        <asp:DropDownList ID="profession" runat="server">
            <asp:ListItem>Marketing</asp:ListItem>
            <asp:ListItem>Banking</asp:ListItem>
            <asp:ListItem>Stock-Trader</asp:ListItem>
            <asp:ListItem>I.T</asp:ListItem>
            <asp:ListItem>Retail</asp:ListItem>
            <asp:ListItem>Cleaner</asp:ListItem>
            <asp:ListItem>Accountant</asp:ListItem>
            <asp:ListItem>Artist</asp:ListItem>
            <asp:ListItem>Designer</asp:ListItem>
            <asp:ListItem>Farmer</asp:ListItem>
            <asp:ListItem>Pub Landlord</asp:ListItem>
            <asp:ListItem>Customer Service</asp:ListItem>
            <asp:ListItem>Teacher</asp:ListItem>
        </asp:DropDownList>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
            ControlToValidate="profession" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
  </p>
    <p>
        Marital Status
        <asp:DropDownList ID="maritalstatus" runat="server">
            <asp:ListItem>Single</asp:ListItem>
            <asp:ListItem>Married</asp:ListItem>
            <asp:ListItem>Divorced</asp:ListItem>
        </asp:DropDownList>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
            ControlToValidate="maritalstatus" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
  </p>
    <p>
    Avatar:
    <asp:FileUpload ID="fu_avatar" runat="server" />
    </p>
    <p>
    <asp:Button ID="Button1" runat="server" Text="Save" />
    </p>
 <button clientidmode="static" runat="server" id="savec" class="btn btn-large btn-info" type="button">Successfully Saved!</button>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="SidebarContent" runat="server">
    <h2>Your Current Profile Picture:</h2><p>
<asp:Image ID="ProfilePic" runat="server" CssClass="img-polaroid" /></p>
    <hr /><strong>Did you know?</strong><br />
    J. J. Audubon’s <i>The Birds of America</i>, published in 1840, is the most valuable 
    book in the world. It sold for <b>$8,802,500</b> in March 2000 — the highest price ever 
    paid for a book.
    <hr />
</asp:Content>